package com.designPattern.observer;

import java.util.Observable;
import java.util.Observer;

/**
 * 百度消息处理者
 *
 * @author : liutianlong
 * @date : 2023/5/25
 * @since : 1.0
 */
public class BaiDuConsumer implements Observer {
    @Override
    public void update(Observable o, Object arg) {
        System.out.println(String.format("百度展示消息：%s",arg.toString()));
    }
}
